package com.project.common.fundamental.response.body;

import java.net.URI;

public class LocationBody implements ResponseBody {
    private String location;

    public LocationBody(String location) {
        this(URI.create(location));
    }

    public LocationBody(URI location) {
        this.location = location.toString();
    }

    public String getLocation() {
        return location;
    }
}
